﻿
@{
    ViewBag.Title = "笔记";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section js
{
    @Scripts.Render("~/js/editor")
    <script>
        $(function () {
           

           
        });
    </script>
}
<main class="lyear-layout-content">

    <div class="container-fluid">

        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body">

                        <form action="#!" method="post" class="row">
                            <div class="form-group col-md-12">
                                <label for="type">栏目</label>
                                <div class="form-controls">
                                    <select name="type" class="form-control" id="type">
                                        <option value="1">小说</option>
                                        <option value="2">古籍</option>
                                        <option value="3">专辑</option>
                                        <option value="4">自传</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-md-12">
                                <label for="title">标题</label>
                                <input type="text" class="form-control" id="title" name="title" value="" placeholder="请输入标题" />
                            </div>
                            <div class="form-group col-md-12">
                                <label for="seo_keywords">关键词</label>
                                <input type="text" class="form-control" id="seo_keywords" name="seo_keywords" value="" placeholder="关键词" />
                            </div>
                            <div class="form-group col-md-12">
                                <label for="seo_description">描述</label>
                                <textarea class="form-control" id="seo_description" name="seo_description" rows="5" value="" placeholder="描述"></textarea>
                            </div>
                        
                            <div class="form-group col-md-12">
                                <label for="content">内容</label>
                                <textarea id="Content" name="Content" style="width:100%; height:540px;" class="area xheditor"></textarea>
                            </div>
                          
                            <div class="form-group col-md-12">
                                <label for="sort">排序</label>
                                <input type="text" class="form-control" id="sort" name="sort" value="0" />
                            </div>
                            <div class="form-group col-md-12">
                                <label for="status">状态</label>
                                <div class="clearfix">
                                    <label class="lyear-radio radio-inline radio-primary">
                                        <input type="radio" name="status" value="0"><span>禁用</span>
                                    </label>
                                    <label class="lyear-radio radio-inline radio-primary">
                                        <input type="radio" name="status" value="1" checked><span>启用</span>
                                    </label>
                                </div>
                            </div>
                            <div class="form-group col-md-12">
                                <button type="submit" class="btn btn-primary ajax-post" target-form="add-form">确 定</button>
                                <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
                            </div>
                        </form>

                    </div>
                </div>
            </div>

        </div>

    </div>

</main>

